/**
 * @description 获取鼠标位置
 *
 * @param {MouseEvent} e
 * @return {*}  {{ x: number; y: number }}
 */
function getPosition(e: MouseEvent): { x: number; y: number } {
  return {
    x: e.clientX,
    y: e.clientY,
  }
}
